<?php
// No direct access to this file
defined('_JEXEC') or die;
 
// import the list field type
jimport('joomla.html.html');
jimport('joomla.form.formfield');
jimport('joomla.form.helper');
JFormHelper::loadFieldClass('list');
 
/**
 * NGMenu Form Field class for the NGMenu component
 */
class JFormFieldBoolValuesReverse extends JFormFieldList
{
	/**
	 * The field type.
	 *
	 * @var		string
	 */
	protected $type = 'BoolValuesReverse';
 
//	public function getLabel() {
//	}
 
	public function getInput() {
		$bool_values = array(
			JHtml::_('select.option', '0', JText::_('COM_NGMENU_LIST_VALUES_YES')),
			JHtml::_('select.option', '1', JText::_('COM_NGMENU_LIST_VALUES_NO')),
		);
	
		$options = null;

		return JHtml::_('select.genericlist', $bool_values, $this->name, $options, 'value', 'text', $this->value);
	}
}
